module Base
{
	item ACOG
    {
        DisplayCategory = WeaponPart,
        ItemType = base:weaponpart,
        Icon = ACOG,
        Weight = 0.5,
        WeightModifier = 0.5,
        AimingTimeModifier = 5,
        MaxSightRange = 10,
        MinSightRange = 1.25,
		MaxRangeModifier    =	12,
		MinRangeModifier    =	3,
        Tags = base:optics,
        MountOn = Base.M16A2E4;Base.M16A2E3;Base.M4A1SOPMOD;Base.M16A2;Base.M16A3;Base.AssaultRifle;Base.XM177;Base.M4;Base.R6010;Base.K4B;Base.R6600;Base.ColtR6700,
        PartType = Scope,
        Tooltip = Tooltip_Scope,
        MetalValue = 22.0,
        WorldStaticModel = ACOG,
        CanAttach = ItemCodeOnTest.hasScrewdriver,
        CanDetach = ItemCodeOnTest.hasScrewdriver,
    }
	model ACOG
	{
        mesh = Weapons/parts/ACOG_4X,
        texture = Weapons/parts/ACOG_4X,
    }
	item M4A1Foregrip
    {
        ItemType = base:weaponpart,
		DisplayCategory = WeaponPart,
        Icon = Vertical_Grip,
        Weight = 0.42,
		HitChanceModifier = 10,
		AimingTimeModifier = -10,
		WeightModifier = 0.3,
		ReloadTimeModifier = 0,
		AngleModifier = 0,
		MaxRangeModifier = 5,
		ClipSizeModifier = 0,
		DamageModifier = 0,
        RecoilDelayModifier = -3,
        MountOn = Base.M16A2E4;Base.M16A2E3;Base.M4A1SOPMOD,
        PartType = Canon,
        StaticModel = M4A1Foregrip,
        MetalValue = 15,
		WorldStaticModel = M4A1ForegripWorld,
    }
	model M4A1Foregrip
	{
        mesh = Weapons/parts/Vertical_Grip,
        texture = Weapons/parts/Vertical_Grip,
    }
	item M4A1CarryHandle
    {
        DisplayCategory = WeaponPart,
        ItemType = base:weaponpart,
        Icon = ScopeIronSight,
        Weight = 0.3,
        WeightModifier = 0.3,
        AimingTimeModifier = -3,
        LowLightBonus = 5.0,
        MountOn = Base.M16A2E4;Base.M16A2E3;Base.M4A1SOPMOD,
        MaxRangeModifier    =	5,
        PartType = Scope,
        MetalValue = 15.0,
        WorldStaticModel = M4A1CarryHandle,
        CanAttach = ItemCodeOnTest.hasScrewdriver,
        CanDetach = ItemCodeOnTest.hasScrewdriver,
    }
	model M4A1CarryHandle
    {
        mesh = Weapons/parts/Carrying_Handle,
        texture = Weapons/parts/Carrying_Handle,
    }
	item M4A1IronSights
    {
        DisplayCategory = WeaponPart,
        ItemType = base:weaponpart,
        Icon = ScopeIronSight,
        Weight = 0.15,
        WeightModifier = 0.15,
        AimingTimeModifier = -3,
        LowLightBonus = 5.0,
        MountOn = Base.M16A2E4;Base.M16A2E3;Base.M4A1SOPMOD,
        MaxRangeModifier    =	5,
        PartType = Scope,
        MetalValue = 15.0,
        WorldStaticModel = M4IronSights,
        CanAttach = ItemCodeOnTest.hasScrewdriver,
        CanDetach = ItemCodeOnTest.hasScrewdriver,
    }
	model M4IronSights
	{
        mesh = Weapons/parts/M4A1_IRONSIGHT,
        texture = Weapons/parts/M4A1_IRONSIGHT,
    }
	item MK23LAM
    {
        DisplayCategory = WeaponPart,
        ItemType = base:weaponpart,
        Icon = ScopeIronSight,
        Weight = 0.25,
        WeightModifier = 0.25,
        AimingTimeModifier = -5,
        LowLightBonus = 10.0,
        MountOn = Base.MK23,
        MaxRangeModifier    =	5,
        PartType = Canon,
        MetalValue = 15.0,
        ActivatedItem = true,
        LightDistance = 15,
        LightStrength = 1.3,
        TorchCone = true,
        TorchDot = 0.66,
        SoundMap = Activate FlashlightOn,
        SoundMap = Deactivate FlashlightOff,
        primaryAnimMask = HoldingTorchRight,
        secondaryAnimMask = HoldingTorchLeft,
        DisappearOnUse = false,
        UseDelta = 0.001,
        WorldStaticModel = MK23LAM,
        CanAttach = ItemCodeOnTest.hasScrewdriver,
        CanDetach = ItemCodeOnTest.hasScrewdriver,
        Tags = base:flashlight;base:usesbattery,
    }
	model MK23LAM
	{
        mesh = Weapons/parts/MK23_LASER,
        texture = Weapons/parts/MK23_LASER,
    }
}
